package com.woniuxy.amusementparkos.service.fzw;

import java.util.List;

import com.woniuxy.amusementparkos.entity.fzw.Organization;
import com.woniuxy.amusementparkos.entity.fzw.Role;

public interface OrganizationService {

	public Organization selectOrganizationNameById(int organization_id);


	public List<Organization> selectAllOrganizationNames();


	/**
	 * 查询一页的组织信息
	 * @param page
	 * @param limit
	 * @return
	 */
	public List<Organization> selectAllOrganizationByPageNumber(Integer page, Integer limit);


	/**
	 * 添加组织信息
	 * @param organization
	 */
	public void insertOrganization(Organization organization);


	/**
	 * 查询组织id是否存在
	 * @param organization_ids
	 */
	public void selectOrganizationByOrganizationIds(int[] organization_ids);


	/**
	 * @param organization_ids
	 */
	public void deleteOrganizations(int[] organization_ids);


	/**
	 *编辑保存组织信息 
	 * @param organization
	 */
	public void updateOrganization(Organization organization);


	/**
	 * @return
	 */
	public Long selectCount();

}
